Creating sub arrays from 1D array - Python

join shbcf.ru